#include "minesweeper.h"

#include <QApplication>

using namespace std;

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MainGame game;

    srand((unsigned)time(NULL));

    game.initGame();
    game.loadImage();
    game.setInterval();
    game.connectTimer();
    game.startTimer();
    game.show();

    return app.exec();
}
